#ifndef PASSWORDMODIFY_H
#define PASSWORDMODIFY_H

#include <QWidget>

namespace Ui {
class PasswordModify;
}

class BllDataFlow;
class PasswordModify : public QWidget
{
    Q_OBJECT

public:
    explicit PasswordModify(QWidget *parent = nullptr);
    ~PasswordModify();

signals:
    void done();

private slots:
    void setWidgetParent();
    void onClearError();
    void onConfirm();
    void onCancel();
    void onBtnShowPwToggled(bool checked);
    void onBtnShowConfirmPwToggled(bool checked);

private:
    void closeForm();

private:
    Ui::PasswordModify *ui;
    BllDataFlow * bdf;
};

#endif // PASSWORDMODIFY_H
